<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: geo3dml::TriangularPrismVolume Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegeo3dml.html">geo3dml</a></li><li class="navelem"><a class="el" href="classgeo3dml_1_1_triangular_prism_volume.html">TriangularPrismVolume</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classgeo3dml_1_1_triangular_prism_volume-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">geo3dml::TriangularPrismVolume Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p>广义三棱柱构成的体。从v2版本开始支持。  
 <a href="#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="geo3dml_2_triangular_prism_volume_8h_source.html">TriangularPrismVolume.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geo3dml::TriangularPrismVolume:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgeo3dml_1_1_triangular_prism_volume.png" usemap="#geo3dml::TriangularPrismVolume_map" alt=""/>
  <map id="geo3dml::TriangularPrismVolume_map" name="geo3dml::TriangularPrismVolume_map">
<area href="classgeo3dml_1_1_volume.html" title="体数据的基类。" alt="geo3dml::Volume" shape="rect" coords="0,112,196,136"/>
<area href="classgeo3dml_1_1_geometry.html" title="A Geometry object is thread safe." alt="geo3dml::Geometry" shape="rect" coords="0,56,196,80"/>
<area href="classgeo3dml_1_1_object.html" alt="geo3dml::Object" shape="rect" coords="0,0,196,24"/>
<area href="classg3dvtk_1_1_triangular_prism_volume.html" title="基于VTK数据结构的广义三棱柱数据结构实现。" alt="g3dvtk::TriangularPrismVolume" shape="rect" coords="0,224,196,248"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab0af56d7f25c3f9c51099ff3b99951eb" id="r_ab0af56d7f25c3f9c51099ff3b99951eb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab0af56d7f25c3f9c51099ff3b99951eb">TriangularPrismVolume</a> ()</td></tr>
<tr class="separator:ab0af56d7f25c3f9c51099ff3b99951eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac28d6fc3cac13dd84109392daa5ca2fb" id="r_ac28d6fc3cac13dd84109392daa5ca2fb"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac28d6fc3cac13dd84109392daa5ca2fb">~TriangularPrismVolume</a> ()</td></tr>
<tr class="separator:ac28d6fc3cac13dd84109392daa5ca2fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">读写顶点的方法。</div></td></tr>
<tr class="memitem:a54341ee1df3517eff8c1ced8329a42df" id="r_a54341ee1df3517eff8c1ced8329a42df"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a54341ee1df3517eff8c1ced8329a42df">AppendVertex</a> (double x, double y, double z)=0</td></tr>
<tr class="separator:a54341ee1df3517eff8c1ced8329a42df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b68d936c20f7592859c2388985c0652" id="r_a4b68d936c20f7592859c2388985c0652"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4b68d936c20f7592859c2388985c0652">GetVertexCount</a> () const =0</td></tr>
<tr class="separator:a4b68d936c20f7592859c2388985c0652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2497cc3c1cf02ff55669fe516becaf2" id="r_af2497cc3c1cf02ff55669fe516becaf2"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af2497cc3c1cf02ff55669fe516becaf2">GetVertexAt</a> (int i, double &amp;x, double &amp;y, double &amp;z) const =0</td></tr>
<tr class="separator:af2497cc3c1cf02ff55669fe516becaf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">读写三棱柱的方法。</div></td></tr>
<tr class="memitem:aceccbc5e49fc5bdacbcc3a60b96fca94" id="r_aceccbc5e49fc5bdacbcc3a60b96fca94"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aceccbc5e49fc5bdacbcc3a60b96fca94">AppendPrism</a> (int top1, int top2, int top3, int bottom1, int bottom2, int bottom3)=0</td></tr>
<tr class="memdesc:aceccbc5e49fc5bdacbcc3a60b96fca94"><td class="mdescLeft">&#160;</td><td class="mdescRight">指定构成体元的6个顶点，添加一个三棱柱体元。  <br /></td></tr>
<tr class="separator:aceccbc5e49fc5bdacbcc3a60b96fca94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a54076eb9ba11545bc0392a161c4702" id="r_a2a54076eb9ba11545bc0392a161c4702"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2a54076eb9ba11545bc0392a161c4702">GetPrismCount</a> () const =0</td></tr>
<tr class="separator:a2a54076eb9ba11545bc0392a161c4702"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba6254112af05016b329a40353f139ee" id="r_aba6254112af05016b329a40353f139ee"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aba6254112af05016b329a40353f139ee">GetPrismAt</a> (int i, int &amp;top1, int &amp;top2, int &amp;top3, int &amp;bottom1, int &amp;bottom2, int &amp;bottom3) const =0</td></tr>
<tr class="separator:aba6254112af05016b329a40353f139ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgeo3dml_1_1_geometry"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classgeo3dml_1_1_geometry')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgeo3dml_1_1_geometry.html">geo3dml::Geometry</a></td></tr>
<tr class="memitem:ab210ffa3ca5f10b0cea4e6727584e456 inherit pub_methods_classgeo3dml_1_1_geometry" id="r_ab210ffa3ca5f10b0cea4e6727584e456"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_geometry.html#ab210ffa3ca5f10b0cea4e6727584e456">Geometry</a> ()</td></tr>
<tr class="separator:ab210ffa3ca5f10b0cea4e6727584e456 inherit pub_methods_classgeo3dml_1_1_geometry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d53b3cd3b262465ba7210a9592e672f inherit pub_methods_classgeo3dml_1_1_geometry" id="r_a3d53b3cd3b262465ba7210a9592e672f"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_geometry.html#a3d53b3cd3b262465ba7210a9592e672f">~Geometry</a> ()</td></tr>
<tr class="separator:a3d53b3cd3b262465ba7210a9592e672f inherit pub_methods_classgeo3dml_1_1_geometry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd6111ed42f06c5ea187141d97fa094f inherit pub_methods_classgeo3dml_1_1_geometry" id="r_afd6111ed42f06c5ea187141d97fa094f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structgeo3dml_1_1_box3_d.html">Box3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_geometry.html#afd6111ed42f06c5ea187141d97fa094f">GetMinimumBoundingRectangle</a> () const =0</td></tr>
<tr class="memdesc:afd6111ed42f06c5ea187141d97fa094f inherit pub_methods_classgeo3dml_1_1_geometry"><td class="mdescLeft">&#160;</td><td class="mdescRight">计算几何对象的最小外包矩形.  <br /></td></tr>
<tr class="separator:afd6111ed42f06c5ea187141d97fa094f inherit pub_methods_classgeo3dml_1_1_geometry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44215d48ecfd06bb464d8c6076da766f inherit pub_methods_classgeo3dml_1_1_geometry" id="r_a44215d48ecfd06bb464d8c6076da766f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_geometry.html#a44215d48ecfd06bb464d8c6076da766f">SetProperty</a> (<a class="el" href="classgeo3dml_1_1_shape_property.html">ShapeProperty</a> *prop, <a class="el" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">ShapeProperty::SamplingTarget</a> t)</td></tr>
<tr class="memdesc:a44215d48ecfd06bb464d8c6076da766f inherit pub_methods_classgeo3dml_1_1_geometry"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置几何对象关联的属性场对象。  <br /></td></tr>
<tr class="separator:a44215d48ecfd06bb464d8c6076da766f inherit pub_methods_classgeo3dml_1_1_geometry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbd5dd616200f703792b3c3885ff84e7 inherit pub_methods_classgeo3dml_1_1_geometry" id="r_abbd5dd616200f703792b3c3885ff84e7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeo3dml_1_1_shape_property.html">ShapeProperty</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_geometry.html#abbd5dd616200f703792b3c3885ff84e7">GetProperty</a> (<a class="el" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">ShapeProperty::SamplingTarget</a> t) const</td></tr>
<tr class="memdesc:abbd5dd616200f703792b3c3885ff84e7 inherit pub_methods_classgeo3dml_1_1_geometry"><td class="mdescLeft">&#160;</td><td class="mdescRight">取几何对象关联属性场。  <br /></td></tr>
<tr class="separator:abbd5dd616200f703792b3c3885ff84e7 inherit pub_methods_classgeo3dml_1_1_geometry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgeo3dml_1_1_object"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classgeo3dml_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgeo3dml_1_1_object.html">geo3dml::Object</a></td></tr>
<tr class="memitem:a9d1e9d56ffd3f4e6e4c568ef64fc1130 inherit pub_methods_classgeo3dml_1_1_object" id="r_a9d1e9d56ffd3f4e6e4c568ef64fc1130"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_object.html#a9d1e9d56ffd3f4e6e4c568ef64fc1130">Object</a> ()</td></tr>
<tr class="separator:a9d1e9d56ffd3f4e6e4c568ef64fc1130 inherit pub_methods_classgeo3dml_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba98285ff2a966457ab77c3843c4a511 inherit pub_methods_classgeo3dml_1_1_object" id="r_aba98285ff2a966457ab77c3843c4a511"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_object.html#aba98285ff2a966457ab77c3843c4a511">~Object</a> ()</td></tr>
<tr class="separator:aba98285ff2a966457ab77c3843c4a511 inherit pub_methods_classgeo3dml_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1345c5e0d1d09c3a83f703682baefa70 inherit pub_methods_classgeo3dml_1_1_object" id="r_a1345c5e0d1d09c3a83f703682baefa70"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_object.html#a1345c5e0d1d09c3a83f703682baefa70">GetID</a> () const</td></tr>
<tr class="separator:a1345c5e0d1d09c3a83f703682baefa70 inherit pub_methods_classgeo3dml_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeff3db60972171b6b700227948c2ab55 inherit pub_methods_classgeo3dml_1_1_object" id="r_aeff3db60972171b6b700227948c2ab55"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_object.html#aeff3db60972171b6b700227948c2ab55">SetID</a> (const std::string &amp;id)</td></tr>
<tr class="separator:aeff3db60972171b6b700227948c2ab55 inherit pub_methods_classgeo3dml_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classgeo3dml_1_1_object"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_static_methods_classgeo3dml_1_1_object')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classgeo3dml_1_1_object.html">geo3dml::Object</a></td></tr>
<tr class="memitem:a9f8edb75ec9cfa7e45ea87ec452111f0 inherit pub_static_methods_classgeo3dml_1_1_object" id="r_a9f8edb75ec9cfa7e45ea87ec452111f0"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_object.html#a9f8edb75ec9cfa7e45ea87ec452111f0">NewID</a> ()</td></tr>
<tr class="memdesc:a9f8edb75ec9cfa7e45ea87ec452111f0 inherit pub_static_methods_classgeo3dml_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">生成一个新的对象ID。  <br /></td></tr>
<tr class="separator:a9f8edb75ec9cfa7e45ea87ec452111f0 inherit pub_static_methods_classgeo3dml_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>广义三棱柱构成的体。从v2版本开始支持。 </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab0af56d7f25c3f9c51099ff3b99951eb" name="ab0af56d7f25c3f9c51099ff3b99951eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0af56d7f25c3f9c51099ff3b99951eb">&#9670;&#160;</a></span>TriangularPrismVolume()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">geo3dml::TriangularPrismVolume::TriangularPrismVolume </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac28d6fc3cac13dd84109392daa5ca2fb" name="ac28d6fc3cac13dd84109392daa5ca2fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac28d6fc3cac13dd84109392daa5ca2fb">&#9670;&#160;</a></span>~TriangularPrismVolume()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual geo3dml::TriangularPrismVolume::~TriangularPrismVolume </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="classg3dvtk_1_1_triangular_prism_volume.html#a2b756a00d755b1f1feb9219934a122db">g3dvtk::TriangularPrismVolume</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aceccbc5e49fc5bdacbcc3a60b96fca94" name="aceccbc5e49fc5bdacbcc3a60b96fca94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aceccbc5e49fc5bdacbcc3a60b96fca94">&#9670;&#160;</a></span>AppendPrism()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int geo3dml::TriangularPrismVolume::AppendPrism </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>top1</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>top2</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>top3</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>bottom1</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>bottom2</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>bottom3</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>指定构成体元的6个顶点，添加一个三棱柱体元。 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">top1,top2,top3</td><td>构成顶面三角形的3个顶点的索引号。顶点的顺序应保持该面在右手坐标系下的法向朝向体元外部。 </td></tr>
    <tr><td class="paramname">bottom1,bottom2,bottom3</td><td>构成底面三角形的3个顶点的索引号。顶点的顺序使得top1、top2、bottom1与bottom2对应构成三棱柱的一个侧面；其余顶点依此类推。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>返回新添加的体元的索引号。 </dd></dl>

<p>Implemented in <a class="el" href="classg3dvtk_1_1_triangular_prism_volume.html#a1aa19d4e2b06594dfe5fe2211743b0e5">g3dvtk::TriangularPrismVolume</a>.</p>

</div>
</div>
<a id="a54341ee1df3517eff8c1ced8329a42df" name="a54341ee1df3517eff8c1ced8329a42df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54341ee1df3517eff8c1ced8329a42df">&#9670;&#160;</a></span>AppendVertex()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int geo3dml::TriangularPrismVolume::AppendVertex </td>
          <td>(</td>
          <td class="paramtype">double</td>          <td class="paramname"><span class="paramname"><em>x</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double</td>          <td class="paramname"><span class="paramname"><em>y</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double</td>          <td class="paramname"><span class="paramname"><em>z</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classg3dvtk_1_1_triangular_prism_volume.html#a09198ac63b2e985d90d6d516a723234b">g3dvtk::TriangularPrismVolume</a>.</p>

</div>
</div>
<a id="aba6254112af05016b329a40353f139ee" name="aba6254112af05016b329a40353f139ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba6254112af05016b329a40353f139ee">&#9670;&#160;</a></span>GetPrismAt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geo3dml::TriangularPrismVolume::GetPrismAt </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>i</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;</td>          <td class="paramname"><span class="paramname"><em>top1</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;</td>          <td class="paramname"><span class="paramname"><em>top2</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;</td>          <td class="paramname"><span class="paramname"><em>top3</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;</td>          <td class="paramname"><span class="paramname"><em>bottom1</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;</td>          <td class="paramname"><span class="paramname"><em>bottom2</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;</td>          <td class="paramname"><span class="paramname"><em>bottom3</em></span>&#160;) const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classg3dvtk_1_1_triangular_prism_volume.html#a18d6353319a66543c8f6b028dd538c20">g3dvtk::TriangularPrismVolume</a>.</p>

</div>
</div>
<a id="a2a54076eb9ba11545bc0392a161c4702" name="a2a54076eb9ba11545bc0392a161c4702"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a54076eb9ba11545bc0392a161c4702">&#9670;&#160;</a></span>GetPrismCount()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int geo3dml::TriangularPrismVolume::GetPrismCount </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classg3dvtk_1_1_triangular_prism_volume.html#a4b01cc21052d1abf855ed33b10882af7">g3dvtk::TriangularPrismVolume</a>.</p>

</div>
</div>
<a id="af2497cc3c1cf02ff55669fe516becaf2" name="af2497cc3c1cf02ff55669fe516becaf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2497cc3c1cf02ff55669fe516becaf2">&#9670;&#160;</a></span>GetVertexAt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geo3dml::TriangularPrismVolume::GetVertexAt </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>i</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;</td>          <td class="paramname"><span class="paramname"><em>x</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;</td>          <td class="paramname"><span class="paramname"><em>y</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;</td>          <td class="paramname"><span class="paramname"><em>z</em></span>&#160;) const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classg3dvtk_1_1_triangular_prism_volume.html#a6dcff3b6b664a9c46f24b451b37facc8">g3dvtk::TriangularPrismVolume</a>.</p>

</div>
</div>
<a id="a4b68d936c20f7592859c2388985c0652" name="a4b68d936c20f7592859c2388985c0652"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b68d936c20f7592859c2388985c0652">&#9670;&#160;</a></span>GetVertexCount()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int geo3dml::TriangularPrismVolume::GetVertexCount </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classg3dvtk_1_1_triangular_prism_volume.html#a27b3dc8b62ca2b84c2577899c5d45765">g3dvtk::TriangularPrismVolume</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/geo3dml/<a class="el" href="geo3dml_2_triangular_prism_volume_8h_source.html">TriangularPrismVolume.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
